package com.firebroo.Chain;

public class ProjectManager extends Handler {

	@Override
	public String handleFreeRequest(String user, double free) {
		String string = "";
		if (free < 500) {
			if ("firebroo".equals(user)) {
				string = "成功：项目经理同意【" + user + "】申请" + free + "元聚餐";
			} else {
				string = "不同意";
			}
		} else {
			if (getSuccessor() != null) {
				return getSuccessor().handleFreeRequest(user, free);
			}
		}
		return string;
	}
}
